/*
 * =============================================================================
 * "THE BEER-WARE LICENSE" (Revision 42):
 * <eirikb@google.com> wrote this file. As long as you retain this notice you
 * can do whatever you want with this stuff. If we meet some day, and you think
 * this stuff is worth it, you can buy me a beer in return Eirik Brandtzæg
 * =============================================================================
 */
package no.eirikb.robotec.terminal.element;

import no.eirikb.robotec.terminal.Terminal;

/**
 *
 * @author eirikb
 * @author <a href="mailto:eirikb@google.com">eirikb@google.com</a>
 */
public class Button extends Element {

    private String title;

    public Button(Terminal terminal, int x, int y, String title) {
        super(terminal, x, y);
        this.title = title;
    }

    @Override
    public void init() {
    }

    @Override
    public void read(int c) {
        System.out.println("Read: " + c);
    }

    private void select(boolean select) {
    }
}
